import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { SelfCheckComponent } from './self-check.component';
import { RouterModule } from '@angular/router';
import { NgZorroAntdModule } from 'ng-zorro-antd';
import { FormsModule } from '@angular/forms';

@NgModule({
  imports: [
    CommonModule,
    NgZorroAntdModule,
    FormsModule,
    RouterModule.forChild([
      {
        path: '', component: SelfCheckComponent,
        children: [
          { path: 'self-check-list', loadChildren: './self-check-list/self-check-list.module#SelfCheckListModule' }, // 自检列表
        ]
      }
    ])
  ],
  declarations: [SelfCheckComponent]
})
export class SelfCheckModule { }
